using System;
using UnityEngine;

public class HomeMaps : MonoBehaviour
{
	[Serializable]
	public class MapReference
	{
		public GameObject mapObject;

		public MapParameters mapParameters;
	}

	public MapReference[] maps;

	private void Start()
	{
		MapReference[] array = maps;
		foreach (MapReference mapReference in array)
		{
			mapReference.mapObject.SetActive(mapReference.mapParameters == MapManager.Instance.CurrentMap);
		}
	}
}
